package com.wwinsoft.oa.service.aftersales;

import org.activiti.engine.impl.pvm.delegate.ActivityExecution;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author: Tim Chen
 * @since 1.0
 */
@Service
@Transactional
public class AftersalesManager {

    @Autowired
    private AftersalesService aftersalesService ;

    public void archiveAftersalesMaintain(ActivityExecution execution){
        String processBusinessKey = execution.getProcessBusinessKey();
        aftersalesService.archiveAftersalesMaintain(Long.valueOf(processBusinessKey));
    }
}
